package com.blog.pojo;

public class Action {
    private Integer userId;
    private int articleId;
    private boolean like;
    private boolean favorite;

    public Action() {
    }

    public Action(Integer userId, int articleId, boolean like, boolean favorite) {
        this.userId = userId;
        this.articleId = articleId;
        this.like = like;
        this.favorite = favorite;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public int getArticleId() {
        return articleId;
    }

    public void setArticleId(int articleId) {
        this.articleId = articleId;
    }

    public boolean isLike() {
        return like;
    }

    public void setLike(boolean like) {
        this.like = like;
    }

    public boolean isFavorite() {
        return favorite;
    }

    public void setFavorite(boolean favorite) {
        this.favorite = favorite;
    }
}
